home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / du.arc / README < prev    next >
Text File  |  1990-10-05  |  3KB  |  69 lines

  1. "du" is an enhanced replacement for the standard "du" disk usage summary
  2. utility.  It's benefits are as follows:
  3.  
  4.   - It's fast.  Compared to the SCO XENIX 2.3 and the Interactive UNIX
  5.     2.0.2, it runs somewhere between 50% to 65% of the time.
  6.  
  7.   - It works.  The aforementioned du's report wrong results, and in
  8.     particular seem to botch the indirect block calculation.
  9.  
  10.   - This version is very good about filesystems with different block
  11.     sizes.  It will do all internal calculations in terms of the native
  12.     filesystem blocksize.  Through the '-b' option you can either report
  13.     these results or normalize to a uniform "reporting blocksize".  For
  14.     example, "-b512" will give the same results as the standard du (except
  15.     when it botches the indirect calculation).  The default reporting
  16.     blocksize is set by REPORT_BLKSIZE, and may be zero to use the native
  17.     blocksize in the report.
  18.  
  19.   - It has a number feature which you wish your "du" had, for example the
  20.     ability to *not* accumulate usage of a subdirectory into the parent
  21.     directory's usage.  This is real nice for du'ing your USENET news
  22.     spool directory.
  23.  
  24.   - It allows the usage to be broken down by file age.  For example, the
  25.     command "du -c 0,7,30" will print four columns:  the usage, the usage
  26.     by entries a week or older, the usage by entries a month or older,
  27.     and the entry name.
  28.  
  29.   - It deals well with links.  It doesn't have limitations that some other
  30.     du's do in terms of only being able to hold so many links or problems
  31.     with links to across directory trees.  It will handle all the links
  32.     you've got, and only report them once.
  33.  
  34.  
  35. Installation:
  36.  
  37.   - Customize the definitions at the front of "du.h" for your installation.
  38.  
  39.   - Run a make.
  40.  
  41.   - Install the "du" executable and "du.man" manual page in the appropriate
  42.     places.
  43.  
  44.   - The included "ngsizes" script summarizes the disk usage in your USENET
  45.     spool directory, broken down by newsgroup and age.  If you'd like to
  46.     use this script,  there are some definitions at the top you will need
  47.     to customize.
  48.  
  49.  
  50. Fine Print:
  51.  
  52.     This program is copyright 1990, Unicom Systems Development.  All
  53.     rights reserved.  This software is provided "as is".  No warranties
  54.     have been expressed or implied.  You are granted license to compile,
  55.     execute, modify, copy, and transfer this program provided:  (1) all
  56.     copyright notices remain intact, (2) any modifications are clearly
  57.     marked as such, (3) you may not receive any direct profits from the
  58.     distribution of this program, and (4) your use of this software
  59.     indicates your agreement to hold Unicom Systems Development harmless
  60.     for any direct and/or incidental damages resulting from such use.
  61.  
  62.  
  63. Comments, suggestions, and bug reports are welcomed to the address below.
  64.  
  65. Chip Rosenthal
  66. <chip@chinacat.Unicom.COM>
  67.  
  68. @(#) README 1.2 90/09/08 14:38:51
  69.